package com.digital.smartgrow.dto.upscale;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.digital.smartgrow.entity.upscale.ScaleItem;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @Auther sunyuechao
 * @Date 2022/8/18-08-18 11:20
 * @Description
 **/
@Data
public class UpscaleDTO {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "指标名称")
    @TableField("scaleName")
    private String scaleName;

    @ApiModelProperty(value = "状态")
    @TableField("scaleState")
    private Integer scaleState;

    @ApiModelProperty(value = "系列")
    @TableField("scaleSeries")
    private String scaleSeries;

    @ApiModelProperty(value = "级别")
    @TableField("scaleGrade")
    private String scaleGrade;

    @ApiModelProperty(value = "年度")
    @TableField("scaleYear")
    private String scaleYear;

    @ApiModelProperty(value = "图片")
    @TableField("imageUrl")
    private String imageUrl;

    @ApiModelProperty(value = "创建时间")
    @TableField("createTime")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField("updateTime")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "指标项")
    @TableField("itemId")
    private String itemId;

//    @ApiModelProperty(value = "指标项")
//    @TableField("item_id")
//    private String item_id;

    @ApiModelProperty(value = "指标项")
    private List<ScaleItem> scaleItemList;
}
